import Vector2 from "./Vector2.js";
export default class PixPoint extends Vector2 {
    constructor(x, y, r, g, b, a) {
        super(x, y);
        this.r = r;
        this.g = g;
        this.b = b;
        this.a = a;
    }
    isOpacity() {
        return this.a === 0;
    }
    get string() {
        return `xyrgba(${this.x},${this.y},${this.r},${this.g},${this.b},${this.a},)`;
    }
}
